package com.icefish.bean;

/**
 * Description:  表goods
 * Date: 2022/11/30 23:06
 * Author: 26480
 * @since JDK 1.8
 */
public class Good {
    // 属性
    private Integer  goods_id;
    private String  goods_name;
    private Integer  goods_price;
    private String  goods_picture;
    private String  goods_describe;

    // 构造器

    public Good() {
    }

    public Good(Integer goods_id, String goods_name, Integer goods_price, String goods_picture, String goods_describe) {
        this.goods_id = goods_id;
        this.goods_name = goods_name;
        this.goods_price = goods_price;
        this.goods_picture = goods_picture;
        this.goods_describe = goods_describe;
    }


    // toString()

    @Override
    public String toString() {
        return "good{" +
                "goods_id=" + goods_id +
                ", goods_name='" + goods_name + '\'' +
                ", goods_price=" + goods_price +
                ", goods_picture='" + goods_picture + '\'' +
                ", goods_describe='" + goods_describe + '\'' +
                '}';
    }


    // getter() and setter()

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Integer getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public String getGoods_picture() {
        return goods_picture;
    }

    public void setGoods_picture(String goods_picture) {
        this.goods_picture = goods_picture;
    }

    public String getGoods_describe() {
        return goods_describe;
    }

    public void setGoods_describe(String goods_describe) {
        this.goods_describe = goods_describe;
    }
}
